package com.homework.ch02;

import java.lang.reflect.Field;

/**
 * @author yang
 * @date 2024-03-26
 */
public class GetIntegerField {
    public static void main(String[] args) {
        Class<Integer> integerClass = Integer.class;
        Field[] fields = integerClass.getDeclaredFields();
        for (Field field:fields) {
            System.out.println(field);
        }
    }
}
